#pragma once

class GameSettings
{
public:
    GameSettings(unsigned tankSpeed = 2, unsigned firerate = 1000, unsigned health = 4,  unsigned bulletSpeed = 2) :
        m_tankHealth(health), m_tankSpeed(tankSpeed),
        m_tankFirerate(firerate), m_bulletSpeed(bulletSpeed)
    {}

    inline unsigned Health() const { return m_tankHealth; }
    inline unsigned MoveSpeed() const { return m_tankSpeed; }
    inline unsigned Firerate() const { return m_tankFirerate; }
    inline unsigned BulletSpeed() const { return m_bulletSpeed; }

private:
    unsigned m_tankHealth;
    unsigned m_tankSpeed;
    unsigned m_tankFirerate;
    unsigned m_bulletSpeed;
};

typedef QSharedPointer<GameSettings> GameSettingsPtr;
